/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package View;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import Core.Game;
/**
 * 
 * @author Sim
 */
@SuppressWarnings("serial")
public class MainWindow extends javax.swing.JFrame
{
    private Game model;
    private GridView container;
    

    public Game getModel()
    {
        return model;
    }


    public void setModel(Game model)
    {
        this.model = model;
    }


    public GridView getGridView()
    {
        return container;
    }


    public void setContainer(GridView container)
    {
        this.container = container;
    }


    public MainWindow(Game model)
    {
	this.model = model;
	container = new GridView(model);
	this.getContentPane().add(container);
    }
}
